export default [
  {
    props: 'elderlyId',
    labelKey: 'idNumber',
    fixed: 'left',
  },
  {
    props: 'elderlyName',
    labelKey: 'name',
  },
  {
    props: 'gender',
    labelKey: 'gender',
  },
  {
    props: 'residence',
    labelKey: 'residence',
  },
  {
    props: 'selfCare',
    labelKey: 'selfCareAbility',
    formatter: (row, column, cellValue, index) => {
      const { t } = useI18n()
      return cellValue ? t('yes') : t('no')
    },
  },
  {
    props: 'isLivingAlone',
    labelKey: 'livingAlone',
    formatter: (row, column, cellValue, index) => {
      const { t } = useI18n()
      return cellValue ? t('yes') : t('no')
    },
  },
  {
    props: 'contactNumber',
    labelKey: 'contactNumber',
  },
  {
    props: 'disease',
    labelKey: 'disease',
  },
  {
    props: 'helpRequestsCount',
    labelKey: 'taskQuantity',
  },
]
